<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::group(['namespace' => 'ds'], function () {
    Route::get('ds/zc','DsController@zc');
    Route::post('ds/log','DsController@log');
    Route::post('ds/log_do','DsController@log_do');
    Route::get('ds/login','DsController@login');
    Route::get('ds/add','DsController@add');
    Route::post('ds/add_do','DsController@add_do');
    Route::get('ds/show','DsController@show');
    Route::get('ds/delete','DsController@delete');
    Route::get('ds/upe','DsController@upe');
    Route::post('ds/update','DsController@update');
});